package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.AREA;
import com.authine.cloudpivot.web.api.vo.AreaList;
import com.authine.cloudpivot.web.api.vo.ProjectDetail;
import com.authine.cloudpivot.web.api.vo.ZXQY;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProjectDetailMapper extends MyMapper<ProjectDetail> {

   /**
    * @Description : 查询项目执行经理区域省份表中，执行经理和区域为空的数据
    * @param ：
    * @author : Liun
    * @date : 2020/4/23
    */
   List<ProjectDetail> selectProjectDetail();

   /**
    * @Description : 根据项目查询对应的执行团队，获取区域和执行经理
    * @param ：
    * @author : Liun
    * @date : 2020/4/23
    */
   List<AreaList> selectAreaList(String projectId);


   List<ZXQY> selectAREA();

    void insertK(@Param("creater")String creater, @Param("owner")String owner, @Param("createdDeptId")String createdDeptId, @Param("ownerDeptId")String ownerDeptId, @Param("id")String id, @Param("storeName")String storeName, @Param("subjectName")String subjectName,@Param("province")String province);

   List<ProjectDetail> selectk(@Param("storeName")String storeName, @Param("subjectName")String subjectName);
}